<!DOCTYPE html>
<html>
    <head>
        <title>360湘江世纪城</title>
        <#include "../controls/public_header.ftl">
        <script type="text/javascript">
			var openMenu = "mc-1";
			var selectMenu = "cld1-mc-1";
		</script>
        <script type="text/javascript"> var basePath = "${model._contextPath}"; </script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/menu.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/user_info.js"></script>
    </head>
    <body>
		<div id="container">
			<#include "../controls/header.ftl">
			<div id="main">
				<div class="Lay_8">
					<div class="bt"><span class="btzi1">我的社区</span>&gt;我的订单</div>
					<div class="nr">
						<!-- 左导航《我的交易》-->
						<#include "../controls/manage_menu.ftl">
						<!-- 购买过的店铺-->
						<div class="wddd">
							<div class="btk1">
								<div class="bt1"><span class="zi1">&nbsp;&nbsp;购买过的店铺</span><span class="zi"><img src="${model._contextPath}/web/resources/images/xt_17.jpg" width="48" height="25"></span>
									<span class="zi"><input name="" type="text"></span>
								</div>
								<!-- 
								<div class="btnr1"><a href="#">所有店铺（71）</a><a href="#">所有店铺（71）</a><a href="#">所有店铺（71）</a><a href="#">所有店铺（71）</a><a href="#">所有店铺（71）</a><a href="#">所有店铺（71）</a></div>
								-->
							</div>
							<div class="wdddnr">
								<div class="wdbox1" style="border-top:2px solid #ffccaa;">
								<#if model.shops?exists && model.shops?has_content && (model.shops?size>0) >
									<table width="100%" border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td width="40%" height="31" align="center" valign="middle" background="${model._contextPath}/web/resources/images/bjt.jpg">店铺信息</td>
											<td width="40%" height="31" align="center" valign="middle" background="${model._contextPath}/web/resources/images/bjt.jpg">宝贝信息</td>
											<td width="10%" height="31" align="center" valign="middle" background="${model._contextPath}/web/resources/images/bjt.jpg">收藏人气</td>
											<td width="10%" height="31" align="center" valign="middle" background="${model._contextPath}/web/resources/images/bjt.jpg">操作</td>
										</tr>
									</table>
									<#list model.shops as shop>
										<table width="100%" border="0" cellpadding="0" cellspacing="0" class="gmbox">
											<tr>
												<td width="95" rowspan="2" align="center" valign="bottom" class="td"><a href="${model._contextPath}/p100009.html?id=${shop.shop_id}" target="_blank"><img src="${model._contextPath}${shop.small_relative_path}" width="82" height="82" class="tubox"></a></td>
												<td width="226" height="70" align="left" valign="middle" class="gmtd"><span class="text10"><a href="${model._contextPath}/p100009.html?id=${shop.shop_id}" target="_blank">${shop.shop_name}</a></span><br />
													<span class="text6">${shop.username}</span></td>
												<td width="319" align="center" valign="middle" class="gmtd wz1">
													<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<td width="50%" align="center" valign="middle" class="text8">购买过的(${shop.cnt})</td>
															<td align="center" valign="middle" class="text10">店铺宝贝(<span class="text8">${shop.num}</span>)</td>
														</tr>
														<tr>
															<td align="center" valign="middle">营业时间：${shop.business_start_hours}-${shop.business_end_hours}<BR></td>
															<td align="center" valign="middle"><span class="text4">最低送货价格：<span class="text8"><strong>￥${shop.lowest_price}</strong></span>元</span></td>
														</tr>
													</table>
												</td>
												<td width="82" align="center" valign="middle" class="gmtd">6908<br /></td>
												<td width="78" align="center" valign="middle" class="text6"><a href="#">加入收藏</a><br />
													<a href="#">删除</a></td>
											</tr>
											<tr>
												<td height="20" colspan="4" align="left" valign="middle" class="td"><img src="${model._contextPath}/web/resources/images/gmd02.jpg" width="700" height="10"></td>
											</tr>
											<tr>
												<td align="center" valign="bottom" class="td">&nbsp;</td>
												<td height="20" colspan="4" align="left" valign="middle" class="td">
													<table border="0" align="left" cellpadding="0" cellspacing="0" style="padding-bottom:10px">
														<tr>
															<td width="50" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/gmd03.JPG" width="33" height="33"></td>
															<td align="left" valign="middle">
																<#list model.goodses as goods>
																	<#if (goods.shop_id == shop.shop_id)>
																		<table border="0" align="left" cellpadding="0" cellspacing="0" class="gmbox1">
																			<tr>
																				<td align="center" valign="middle"><a href="${model._contextPath}/p100010.html?id=${goods.goods_id}" target="_blank"><img src="${model._contextPath}${goods.small_relative_path}" width="120" height="120" class="tubox"></a></td>
																			</tr>
																			<tr>
																				<td align="left" valign="middle"><div class="span"><a href="${model._contextPath}/p100010.html?id=${goods.goods_id}" target="_blank">${goods.goods_name}</a></div>
																					<strong class="text6">￥<span class="text8a">${goods.goods_price?number?string("0.##")}</span></strong></td>
																			</tr>
																		</table>
																	</#if>
																</#list>
															</td>
															<td width="40" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/gmd04.JPG" width="33" height="33"></td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</#list>
									
									<table width="100%" border="0" cellpadding="0" cellspacing="0" class="wdbox2" style=" margin-bottom:0px">
										<tr>
											<td width="10%" align="left" valign="middle">&nbsp;&nbsp;
												<input type="checkbox" name="checkbox3" value="checkbox">
												全选</td>
											<td width="37%" align="left" valign="middle"><img src="${model._contextPath}/web/resources/images/bb_06.jpg" width="59" height="20"> <img src="${model._contextPath}/web/resources/images/bb_08.jpg" width="59" height="20"> <img src="${model._contextPath}/web/resources/images/bb_10.jpg" width="84" height="20"></td>
											<td width="45%" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/bb_03.jpg" width="325" height="25"></td>
											<td width="8%" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/xt_32.jpg" width="37" height="25"></td>
										</tr>
									</table>
								</#if>
									
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div width="100%" height="127"> 
				<#include "../controls/footer.ftl">
			</div>
		</div>
    </body>
</html>